package agend.client.gui.utils.exceptions;

public class TimeException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public enum TypeTime {STRAT, END};
	
	private TypeTime type;
	private String message;

	public TimeException(TypeTime typeTime, String message)
	{
		type = typeTime;
		this.message = message;
	}

	public TypeTime getType() {
		return type;
	}

	public String getMessage() {
		return message;
	}
	
}
